package gaertnerei.gui;

import javax.swing.*;
import java.awt.*;

@SuppressWarnings("serial")
public class InfoPanel extends JFrame {
	/**
	 * Info Panel, zeigt Informationen zu Version und Authoren
	 * 
	 * @author DMF
	 */
	public InfoPanel() {
		setTitle("Info");
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		getContentPane().setLayout(new GridLayout(1, 0, 0, 0));
		setSize(350, 240);

		JPanel panel = new JPanel();
		getContentPane().add(panel);
		panel.setLayout(null);

		JLabel lblInfo = new JLabel("<html><center>Version 0.1<br /><br /><br />Entwickler:<p><p> Thomas Belser <p> Dominic Kern <p> Patrick Heller <p> Dennis Morales Flores</center></html>");
		lblInfo.setHorizontalAlignment(SwingConstants.CENTER);
		lblInfo.setBounds(0, 0, 334, 202);
		panel.add(lblInfo);

		setLocationRelativeTo(null);

		setVisible(true);
	}
}
